<?php

/**
 * UMBook Manager
 *
 * @version 1.0
 */
class UMbook_Manager
{

    /**
     * Returns true if the user is an administrator
     * @return boolean
     */
    public static function getUserAdminStatus(){
        $user = Zend_Auth::getInstance()->getIdentity();
        
        if($user->rol == '1')
            return true;
        else
            return false;
    }


}
